package com.bkjk.platform.druid.spring.boot.starter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author juntao.zhang
 * @version V1.0
 * @Description: TODO
 * @Package com.bkjk.platform.driuddemo.config
 * @date 2018/3/12 21:46
 */
@Data
@ConfigurationProperties(prefix="spring.datasource.monitor")
public class DruidProperties {

    private String loginUserName;

    private String loginPassword;

    private List<String> allowIp;

    private List<String> denyIp;

    private List<String> patterns;

    private Integer slowSqlMillis;

    private String homeUrl;

    private Boolean springMonitorEnable;
}
